package shujia.day05;

//class Mather{
//
//}

class GrandFather{

}

class Father extends GrandFather{

}

//class Son extends Mather,Father{ // 不允许继承多个类
//
//}

class Son extends Father{

}

public class ExtendsDemo2 {
    public static void main(String[] args) {

    }
}
